<?php
$this->menu=array(
	array('label'=>'Nutzer suchen', 'url'=>array('index'), 'visible'=>!Yii::app()->user->isGuest),
	array('label'=>'Nutzer anlegen', 'url'=>array('create'), 'visible'=>Yii::app()->user->checkAccess('isAdmin')),
	array('label'=>'Nutzer ändern', 'url'=>array('update', 'id'=>Yii::app()->user->id)),
	array('label'=>'Nutzer verwalten', 'url'=>array('admin'),'visible'=>Yii::app()->user->checkAccess('isAdmin')),
	array('label'=>'Studiengang anlegen', 'url'=>array('create'),'visible'=>Yii::app()->user->checkAccess('isStudiendekanat'))
);
?>